package com.kkyy.findmusic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kkyy.findmusic.entity.SongsEntity;

import java.util.List;

public interface SongsService extends IService<SongsEntity> {
    // 获取音乐
    List<SongsEntity> getSongs();

    // 获取一首
    SongsEntity getOneById(Integer songId);

    void delSongById(Integer id);

    void downSongById(Integer id);

    void upSongById(Integer id);

    List<SongsEntity> getSongs2();

    void addSongInfo(String songname, String songart, String picurl, Integer location);
}